from hackprofile.models import Hacker, ForumProfile

class ShowMyProfile(DetailView):
    def get_object(self):
        return get_object_or_404(Hacker.objects, user=self.request.user)


class ShowProfile(DetailView):
    def get_object(self):
        return get_object_or_404(Hacker.objects, user=self.pk)



        